package com.zhuss.common;

import com.zhuss.db.entity.OpLog;


public abstract class AbstractProcessor<Result, Param> implements Processor<Result, Param> {
	
//	@Autowired
//	private OpLogDao opLogDao;
	
	@Override
	public void log(OpLog record) {
//		System.out.println();
//		record.setContent("模块: " + EnumUtil.containsKey(MoudleEnum.class, record.getMoudle()) + ", " +
//				"操作: " + EnumUtil.containsKey(LogActionEnum.class, record.getAction()) + ", " + record.getContent());
//		opLogDao.insertSelective(record);
	}
	
	/*@Override
	public void check(Param param) throws AabException {
		System.out.println(param);
	}*/


}
